﻿namespace FileSynchronization.Model
{
    public class UploadModel
    {
        /// <summary>
        /// 文件
        /// </summary>
        public IFormFile file { get; set; }

        /// <summary>
        /// 文件唯一标识
        /// </summary>
        public string guid { get; set; }

        /// <summary>
        /// 要上传的位置
        /// </summary>
        public string baseDir { get; set; }

        /// <summary>
        /// 当前片
        /// </summary>
        public int chunk { get; set; }

        /// <summary>
        /// 总片数
        /// </summary>
        public int chunks { get; set; }
    }

    public class UserLoginInput
    {
        public string UserName { get; set; }

        public string PassWord { get; set; }

        public SyncType Type { get; set; }
    }
}
